{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "INFO:test:test text\n"
     ]
    }
   ],
   "source": [
    "import logging\n",
    "logger = logging.getLogger(\"test\")\n",
    "logger.setLevel(logging.INFO)\n",
    "logging.basicConfig(level=logging.INFO)\n",
    "logger.info(\"test text\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "hello world\n"
     ]
    }
   ],
   "source": [
    "print(\"hello world\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<matplotlib.axes._subplots.AxesSubplot at 0x7f8391f10290>"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAD8CAYAAAB6paOMAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAADzJJREFUeJzt3XGMJnV9x/H3xwMLqBWQLSWcuKhES6wiPYnG2losCS1V\nsLFWU5trSzxNNcXQpJzEVGxicjQq2qZVUdTTGhWBChWb5sBTa9KAh6KCaEA9WxC5s0rwrIEC3/7x\nzLbb83Z3VnbmYZ/f+5Vsdub3zLO/74/h9rPzm3lmUlVIktr1iGkXIEmaLoNAkhpnEEhS4wwCSWqc\nQSBJjTMIJKlxBoEkNc4gkKTGGQSS1LiDpl1AH0cddVTNz89PuwxJWlduuOGG71fV3ErbrYsgmJ+f\nZ9euXdMuQ5LWlSTf6bOdU0OS1DiDQJIaZxBIUuMMAklqnEEgSY0zCCSpcQaBJDXOIJCkxhkEktS4\ndfHJYs2W+a1Xj9LP7m1njNKPtN55RCBJjTMIJKlxBoEkNc4gkKTGGQSS1DiDQJIaZxBIUuMMAklq\nnEEgSY0zCCSpcQaB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ZuY2NfuPtaoW9umbu316UZKfW+t+DYJl1GTebFbnzt4JPAk4CbgTeOt0y1k7SR4NXA68rqruWfza\nrO3TA4x15vZrVT1QVScxuQvBKcBTp1zSYPYfa5KnAa9nMuZnAUcCaz6taRD8tLu6+deFedg9U65n\nEFV1V/c/3YPAe5j8A1v3urnVy4EPV9UVXfNM7tMDjXVW9ytAVd0N7ASeAxyeZOFzUAe8Tc16tmis\np3fTgFVV9wLvZ4B9ahD8tKuAzd3yZuDKKdYymIVfjJ0XAzctte160Z1suwS4paretuilmdunS411\n1vZrkrkkh3fLhwKnMTkfshN4SbfZrOzTA43164v+iAmTcyFrvk9bv2roI8DzmdzJ8C7gjcAngEuB\n44DvAC+tqnV9onWJcT6fyfRBAbuBVy2aR1+Xkvwq8K/AV4EHu+bzmcydz9o+XWqsL2eG9muSpzM5\nGbyByR+ul1bVXyV5IpNnmRwJfAl4RfcX87q1zFg/DcwBAW4EXr3opPLa9N1yEEiSnBqSpOYZBJLU\nOINAkhpnEEhS4wwCSWqcQSBJjTMIJKlxBoEkNe5/AEfTMGi6ZpsVAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f830af7b350>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import warnings\n",
    "warnings.simplefilter(action='ignore', category=FutureWarning)\n",
    "from ggplot import mpg\n",
    "mpg['cty'].plot.hist(bins=12)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "hide_input": false,
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
